#ifndef M0WIG_H
#define M0WIG_H

#include <QWidget>
#include "globalval.h"
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QDebug>
#include <QMessageBox>

namespace Ui {
class M0Wig;
}

class M0Wig : public QWidget
{
    Q_OBJECT

public:
    explicit M0Wig(QWidget *parent = 0);
    ~M0Wig();

public slots:
    void handleMqttMessage(const QByteArray &message);

    void handleLightSlot();
private:
    Ui::M0Wig *ui;
};

#endif // M0WIG_H
